/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.ac.cput.coreprincipals.inheritance.inheritance.impl;

import za.ac.cput.coreprincipals.inheritance.inheritance.Creatures;

/**
 *
 * @author 210227257
 */
abstract public class Animal implements Creatures{
    private String name;
    
    public Animal(String name){
        this.name = name;
    }
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public String message() {
        return "I am an animal";
    }
    
}
